Xbasic

A5_FIELDSIZES Function

Syntax

Size_Info as P = a5_FieldSizes(C type )

Arguments

Size_Info

A dot variable with two elements:

.Decimal

number of decimal characters

.Length

length in characters

type

The name of a field type. Character

Description

Returns the length and decimals for all field types other than Character and Numeric

Discussion

The A5_FIELDSIZES() function returns information about the size of table fields that are not character or numeric.

Example

? a5_fieldsizes("time")
= decimal = 0
Length = 17
? a5_fieldsizes("date")
= decimal = 0
Length = 8

See Also